<mat-toolbar [color]="toolbarcolor">
    <button mat-icon-button (click)="openSidebar()" *ngIf="(auth$|async)?.token">
      <mat-icon>menu</mat-icon>
    </button>
    <span>企业协作平台</span>
    <span class="fill-remaining-space"></span>
    <mat-slide-toggle (change)="onChange($event.checked)">黑夜模式</mat-slide-toggle>
    <span><a mat-button *ngIf="(auth$|async)?.token" (click)="logout()">退出</a></span>
</mat-toolbar>
